package dsx.console;

import dsx.config.Config;
import dsx.log.DsxLog;
import dsx.log.ServLog;

public class DsxConsole {

	public static void init() {
		try {
			DsxLog.start();
		} catch (Exception ex) {
			return;
		}
	}

	public static void stop() {
		try {
			DsxLog.stop();
		} catch (Exception ex) {
			return;
		}
	}
	
	public static void out(String msg, String type, String level) {
		DsxLog.writeLog(msg, type, "", level);
	}

	public static void out(String msg, String type, String entity, String level) {
		DsxLog.writeLog(msg, type, entity, level);
	}

}
